package com.dashboard.taichinh;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import com.opensymphony.xwork2.Action;

public class report {
	private int tab;

	public int getTab() {
		return tab;
	}

	private String tabname;

	public String getTabname() {
		return tabname;
	}

	private int page;

	public int getPage() {
		return page;
	}

	private String pagename;

	public String getPagename() {
		return pagename;
	}

	private String smalltitle;

	public String getSmalltitle() {
		return smalltitle;
	}

	private List<List<String>> listpage;

	public List<List<String>> getListpage() {
		return listpage;
	}

	public String report1() throws Exception {
		// du lieu dung chung
		tab = 4;
		tabname = "Tình hình thu phí";

		page = 1;
		listpage = new ArrayList<List<String>>();
		listpage.add(new ArrayList<String>(Arrays.asList(
				"taichinhreport1.action", "Tình hình thu phí",
				"Tình hình thu phí trong học kỳ")));
		/*
		listpage.add(new ArrayList<String>(Arrays.asList(
				"taichinhreport2.action", "page2",
				"")));
		listpage.add(new ArrayList<String>(Arrays.asList(
				"taichinhreport3.action", "page3",
				"")));
		*/
		List<String> p = (listpage.get(page - 1));
		pagename = p.get(1);
		smalltitle = p.get(2);

		// du lieu rieng
		String jsondata = "";

		return Action.SUCCESS;
	}
}
